window: allocation x/y is 0,0
authorBenjamin Otte <otte@redhat.com>
Thu, 17 Jan 2013 19:52:50 +0000 (20:52 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 17 Jan 2013 19:56:31 +0000 (20:56 +0100)
This was incorrect in 97ba4b1b8eb82563f13762a4bd8cfe9beb8a121c.

gtk/gtkwindow.c

index e0c21a923e55c5717aafffb1596f6633ccb17c44..098488667fb2a8b172ccd753520a239feadbab4c 100644 (file)
@@ -7171,7 +7171,8 @@ gtk_window_move_resize (GtkWindow *window)
                                   &new_geometry,
                                   new_flags);
 
-  gdk_window_get_position (gdk_window, &allocation.x, &allocation.y);
+  allocation.x = 0;
+  allocation.y = 0;
   allocation.width = gdk_window_get_width (gdk_window);
   allocation.height = gdk_window_get_height (gdk_window);